import org.jasypt.encryption.StringEncryptor;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by dell on 2017/11/16.
 */
public class JasypTest {

    @Autowired
    StringEncryptor stringEncryptor;

    @Test
    public void strPwd(){

        String result = stringEncryptor.encrypt("JuBa123456");
        System.out.println(result);

    }


}
